<!-- <template>

  <router-view style="width: 100%" />
</template> -->
<template>
  
    <div id="app-header">
      <top-menu :routes="routes" />
    </div>

    <router-view />
</template>

<script>
import TopMenu from './components/system/side_menu.vue'
import { routes } from './router'

export default {
  name: 'App',
  components: {
    TopMenu
  },
  data() {
    return {
      routes: routes
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100vh;
  width: 100vw;
  flex-grow: 1;
  box-sizing: border-box;
}

#app-header {
  height: 48px;
  width: 100%;
  display: flex;
  flex-direction: row;
}
</style>
